package com.nwpu.coursesupport.view;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.nwpu.coursesupport.entity.Class.ClassDate;
import com.nwpu.coursesupport.enumeration.ClassType;
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ClassView{
	
	private int courseId;
	private String courseCode;
    private String courseName;
    private int courseHour;
    private double credit;
    private int sumWeeks;
    
    private int id;//classId
    private String className;
    private Integer fid;
    private int managerId;
    private String managerName;
    private ClassType classType;
    
    private Integer hasTheory;
    @JsonIgnore
    private String theoryDateBytes;
    private ClassDate theoryDate;
    
    private Integer hasLab;
    @JsonIgnore
    private String labDateBytes;
    private ClassDate labDate;
    private String classCode;
    
    private int tid;
    private String tname;
    
	public int getCourseId() {
		return courseId;
	}
	public void setCourseId(int courseId) {
		this.courseId = courseId;
	}
	public String getCourseCode() {
		return courseCode;
	}
	public void setCourseCode(String courseCode) {
		this.courseCode = courseCode;
	}
	public String getCourseName() {
		return courseName;
	}
	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}
	public int getCourseHour() {
		return courseHour;
	}
	public void setCourseHour(int courseHour) {
		this.courseHour = courseHour;
	}
	public double getCredit() {
		return credit;
	}
	public void setCredit(double credit) {
		this.credit = credit;
	}
	public int getSumWeeks() {
		return sumWeeks;
	}
	public void setSumWeeks(int sumWeeks) {
		this.sumWeeks = sumWeeks;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	public Integer getFid() {
		return fid;
	}
	public void setFid(Integer fid) {
		this.fid = fid;
	}
	public int getManagerId() {
		return managerId;
	}
	public void setManagerId(int managerId) {
		this.managerId = managerId;
	}
	public String getManagerName() {
		return managerName;
	}
	public void setManagerName(String managerName) {
		this.managerName = managerName;
	}
	public ClassType getClassType() {
		return classType;
	}
	public void setClassType(ClassType classType) {
		this.classType = classType;
	}
	public Integer getHasTheory() {
		return hasTheory;
	}
	public void setHasTheory(Integer hasTheory) {
		this.hasTheory = hasTheory;
	}
	public String getTheoryDateBytes() {
		return theoryDateBytes;
	}
	public void setTheoryDateBytes(String theoryDateBytes) {
		this.theoryDateBytes = theoryDateBytes;
	}
	public ClassDate getTheoryDate() {
		return theoryDate;
	}
	public void setTheoryDate(ClassDate theoryDate) {
		this.theoryDate = theoryDate;
	}
	public Integer getHasLab() {
		return hasLab;
	}
	public void setHasLab(Integer hasLab) {
		this.hasLab = hasLab;
	}
	public String getLabDateBytes() {
		return labDateBytes;
	}
	public void setLabDateBytes(String labDateBytes) {
		this.labDateBytes = labDateBytes;
	}
	public ClassDate getLabDate() {
		return labDate;
	}
	public void setLabDate(ClassDate labDate) {
		this.labDate = labDate;
	}
	public String getClassCode() {
		return classCode;
	}
	public void setClassCode(String classCode) {
		this.classCode = classCode;
	}
	public int getTid() {
		return tid;
	}
	public void setTid(int tid) {
		this.tid = tid;
	}
	public String getTname() {
		return tname;
	}
	public void setTname(String tname) {
		this.tname = tname;
	}
	
}


